package com.woniu.supermarket.mapper;

import com.woniu.supermarket.entity.PromotionCheck;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PromotionCheckMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PromotionCheck record);

    PromotionCheck selectByPrimaryKey(Integer id);

    List<PromotionCheck> selectAll();

    int updateByPrimaryKey(PromotionCheck record);

    List<PromotionCheck> selectByPromotionId(Integer id);
}